<template>
  <div class="baseA">
    儿子组件
    <BaseB />
  </div>
</template>

<script>
import BaseB from './BaseB.vue';

export default {

  components: {
    BaseB
  },

  data() {
    return {

    }
  }
}
</script>

<style>
.baseA {
  width: 500px;
  height: 300px;
  background-color: pink;
}
</style>
